package com.mayflygeek.mayflyask.advice;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
/**
 * @author 蝈蝈 
 * @email guodefu909@126.com
 * @team 蜉蝣极客
 * @link www.mayflygeek.com
 * AOP增强测试类
 */
@Component
@Aspect
public class AdviceTest {
	
	private Logger log = LoggerFactory.getLogger(getClass());

	@Before("execution(*  com.mayflygeek.mayflyask.controller.*.login(..))")
	public void before() {
		log.info("@Before增强");
	}
	

}
